@import "./common";

.banner {
    .carousel {
        .carousel-inner {
            .item {
                img {
                    width: 100%;
                }
            }
        }
    }
}

.gamer{
    .container{
        .row{
            padding-top: 34px;
            padding-bottom: 60px;
            .gamerboxL{
                position: relative;
                &::after{
                    content: '热门';
                    display: block;
                    height: 100px;
                    width: 37px;
                    font-size: 20px;
                    text-align: center;
                    padding-top: 15px;
                    color: white;
                    background-color: #e14738;
                    clip-path: polygon(0 0,100% 0,100% 100%,50% 90%,0 100%,0 0);
                    position: absolute;
                    top: -34px;
                    left: 15px;
                }
                img{
                    width: 110%;
                }
            }
            .gamerboxL2{
                img{
                    width: 110%;
                }
            }
            .gamerboxR{
                p{
                    &:nth-of-type(1){
                        font-size: 30px;
                        text-align: right;
                    }
                    &:nth-of-type(2){
                        font-size: 12px;
                        color: #898989;
                        text-align: justify;
                        margin-bottom: 0;
                    }
                }

                #zhugong{
                    text-align: left;
                }

                .moregame{
                    display: flex;
                    display: -webkit-flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    .g1{
                        flex: 0 0 48%;
                        margin-top: 20px;
                        img{
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
}

.letplay{
    background-color: white;
    .container{
        p{
            font-size: 36px;
        }
        .playmore{
            display: flex;
            display: -webkit-flex;
            justify-content: space-between;
            flex-wrap: wrap;
            .playitem{
                flex: 0 0 31%;
                >div{
                    position: relative;
                    .textmore{
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background-color: rgba(0, 0, 0, 0.4);
                        p{
                            font-size: 12px;
                            color: white;
                            margin:10px 10px 0 10px;
                            line-height: 150%;
                            text-align: left;
                            text-align: justify;
                        }
                    }
                }
                p{
                    font-size: 14px;
                    text-align: center;
                    margin-top: 10px;
                    margin-bottom: 40px;
                }
                img{
                    width: 100%;
                }
            }
        }
    }
}

@media screen and(max-width:992px){
    .letplay{
        .container{
            p{
                font-size: 28px;
            }
            .playmore{
                .playitem{
                    >div{
                        .textmore{
                            
                            p{  
                                margin:5px 5px 0 5px ;
                                line-height: 130%;
                            }
                        }
                    }
                    p{
                        font-size: 14px;
                        text-align: center;
                        margin-top: 10px;
                        margin-bottom: 40px;
                    }
                    img{
                        width: 100%;
                    }
                }
            }
        }
    }
}
@media screen and (max-width:767px){
    .gamer{
        .container{
            .row{
                padding-top: 20px;
                padding-bottom: 20px;
                .gamerboxR{
                    p{
                        &:nth-of-type(1){
                            text-align: left;
                        }
                    }
                }
            }
        }
    }

    .letplay{
        .container{
            p{
                font-size: 20px;
            }
            .playmore{
                .playitem{
                    flex: 0 0 48%;
                    >div{
                        .textmore{
                            
                        
                            p{  
                                margin:10px 10px 0 10px ;
                                line-height: 150%;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                display: block;
                                white-space: nowrap;
                            }
                        }
                    }
                    p{
                        font-size: 14px;
                        text-align: center;
                        margin-top: 10px;
                        margin-bottom: 20px;
                    }
                    img{
                        width: 100%;
                    }
                }
            }
        }
    }
}